home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / turbovis / tvinp101.zip / TVINP101.DOC < prev    next >
Text File  |  1992-05-13  |  2KB  |  36 lines

  1. Tvinp101.tpu is a simple Turbo Vision unit that picks up where Borland left
  2. off with regards to numeric dialog box inputs.  Support is provided for the
  3. standard types integer.longint,real,single,double,extended,and comp.
  4. Each object comes complete with keyboard character input validation,
  5. user supplied range checking, stream load/store methods, and standard
  6. dialog box data transfer capabilities.  They are modeled after and behave
  7. similarly to the standard TInputLine.
  8.  
  9. Most of the code is fairly self documenting, especially if you are already
  10. familiar with Turbo Vision.  A quick overview:
  11.  
  12. Objects provided--
  13.   TInputInt;            Integer input object
  14.   TInputLong;           Long integer input object
  15.   TInputReal;           Software real input object
  16.   TInputSingle;         IEEE single precision object
  17.   TInputDouble;         IEEE double precision object
  18.   TInputExtended;       IEEE extended precision (long double) object
  19.   TInputComp;           IEEE comp object
  20.  
  21. All of the above mentioned objects have two constructors : init() and default().
  22. Init allows complete control over the initial value, allowed range, and
  23. displayed appearance of an input object.  The default constructor creates
  24. an object with reasonable defaults : 0 initial value, a default input
  25. width, and allows the entire range of the numeric type that the object
  26. represents.  See the unit interface for the exact syntax of these calls.
  27.  
  28. All of the objects have load,store,setdata,and getdata methods.  Use them
  29. exactly as you would the same methods for any TGroup descendent.
  30.  
  31. I have done my best to provide a bug free resource for your use.  However,
  32. if you have problems or questions, I can be reached via email at
  33. bobb@vice.ico.tek.com.  I am also a frequent reader of comp.lang.pascal.
  34.  
  35. Feel free to incorporate these routines into your own programs.  I neither
  36. require nor expect any royalties for their use.